package com.github.zzay.care.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.github.zzay.care.dto.EventDto;
import com.github.zzay.care.entity.Event;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author zzay
 * @interfaceName EventMapper
 * @description Mapper class for entity "Event"
 * @create 2022/07/08 10:46
 */
@Mapper
@Repository
public interface EventMapper extends BaseMapper<Event> {

    /**
     * Select all information.
     *
     * @return A list of all information
     */
    List<EventDto> selectAll();

}
